/*
 * IFDBCustomer.java
 *
 * Created on 25. oktober 2012  
 */

package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
/**
 * Interface to the DBEmployeer
 * @author DM79 group 5
 */
public interface IFDBCustomer {
    // get all customers
    public ArrayList<Customer> getAllCustomers(boolean retriveAssociation);
    // get one customer having the customerid
    public Customer findCustomer(String customerId, boolean retriveAssociation);
    // find one customer having the name
    public Customer searchCustomerName(String name, boolean retriveAssociation);       
    // insert a new employee
    public int insertCustomer(Customer customer) throws Exception;
    // update information about an employee
    public int updateCustomer(Customer customer);   
}
